@import "./common";

body {
    header {
        nav {
            padding: getvw(48) getvw(22) getvw(18);
        }
    }

    main {

        .contTop {
            display: flex;
            flex-direction: column;
            align-items: center;

            // 搜索样式
            .searchBox {
                width: getvw(265);
                height: getvw(50);
                position: relative;

                input {
                    width: 100%;
                    height: 100%;
                    border-radius: getvw(25);
                    border: getvw(2) solid #ff9344;
                    font-size: getvw(24);
                    padding-left: getvw(25);
                    box-sizing: border-box;
                    outline: none;
                }

                .icon-sousuo {
                    color: #ff9344;
                    font-size: getvw(38);
                    position: absolute;
                    top: getvw(4);
                    right: getvw(15);
                }
            }

            .allSearch {
                width: getvw(512);

                p {
                    font-size: getvw(26);
                    text-align: center;
                    margin: getvw(34) 0 getvw(14);
                }

                .block {
                    width: 100%;
                    height: getvw(132);
                    display: flex;
                    flex-flow: wrap;
                    justify-content: space-between;
                    align-content: space-between;

                    span {
                        display: block;
                        width: getvw(125);
                        font-size: getvw(20);
                        text-align: center;
                        line-height: getvw(64);
                        color: #898989;
                        background-color: #dcdcdc;
                    }
                }
            }
        }

        .hotSearch {
            .titleBox {
                margin: getvw(40) 0 getvw(20);
                position: relative;

                >i {
                    padding-left: getvw(10);
                    font-size: getvw(50);
                    color: #ff9344;
                }

                span {
                    font-size: getvw(30);
                    line-height: getvw(58);
                    position: absolute;

                    &:first-of-type {
                        font-weight: 600;
                        left: getvw(70);
                    }

                    &:last-of-type {
                        font-size: getvw(24);
                        right: 0;

                        .icon-xiangyou3 {
                            font-size: getvw(26);
                            color: #ff9344;
                            margin-left: getvw(8);
                        }
                    }
                }
            }

            .imgBox {
                width: 100%;
                height: getvw(352);

                img {
                    display: block;
                    float: left;

                    &:nth-child(1) {
                        width: getvw(280);
                        height: getvw(352);
                    }

                    &:nth-child(2) {
                        width: getvw(420);
                        height: getvw(147);
                        margin: 0 0 getvw(8) getvw(6);
                    }

                    &:nth-child(3) {
                        width: getvw(195);
                        height: getvw(197);
                        margin: 0 getvw(10);
                    }

                    &:nth-child(4) {
                        width: getvw(211);
                        height: getvw(197);
                    }
                }
            }
        }

        .recomSearch {
            .titleBox {
                margin: getvw(40) 0 getvw(20);
                position: relative;

                >i {
                    padding-left: getvw(10);
                    font-size: getvw(50);
                    color: #ff9344;
                }

                span {
                    font-size: getvw(30);
                    line-height: getvw(58);
                    position: absolute;

                    &:first-of-type {
                        font-weight: 600;
                        left: getvw(70);
                    }

                    &:last-of-type {
                        font-size: getvw(24);
                        right: 0;

                        .icon-xiangyou3 {
                            font-size: getvw(26);
                            color: #ff9344;
                            margin-left: getvw(8);
                        }
                    }
                }
            }

            .imgBox {
                display: flex;
                justify-content: space-between;

                img {
                    display: block;
                    height: getvw(200);
                }
            }
        }
    }
}